<%@page import="entities.SubmitSite"%>
<%@page import="entities.Category"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.TreeMap"%>
<%@page import="helpers.UrlHelper"%>

<%
TreeMap<String, String> check = (TreeMap<String, String>) request.getAttribute("check");
String success = (String) request.getAttribute("success");
SubmitSite submitSite = (SubmitSite) request.getAttribute("submitSite");
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/admin/layouts/header.jsp" />

<script type="text/javascript" src="/admin/js/submit_site_form.js"></script>

		<div class="maincontent noright">
        	<div class="maincontentinner">
                <ul class="maintabmenu multipletabmenu">
                	<li><a href="/admin/submitsite/list">Submit Site List</a></li>
                	<li class="current"><a>Submit Site Add</a></li>
                </ul><!--maintabmenu-->
                
                <div class="content">
					<jsp:include page="/admin/elements/message_box.jsp" />
                    <div class="contenttitle">
                    	<h2 class="form"><span>Information</span></h2>
                    </div><!--contenttitle-->
            
                    <form method="post" action="" class="stdform stdform2" id="edit_config_form">
                        <p>
                        	<label>Site Url</label>
                            <span class="field">
                            	<input type="text" class="smallinput" name="siteUrl" id="g_siteUrl" value="<%=submitSite.getSiteUrl()%>">
                            	<br />
                            	<small>Example: http://www.example.com/service/submit-article</small>
                            </span>
                            
                        </p>
                        
                        <p>
                        	<label>Source Language</label>
                            <span class="field">
                            	<input type="text" class="smallinput" name="sl" id="g_sl" value="<%=submitSite.getSl()%>">
                            </span>
                        </p>
                        
                        <p>
                        	<label>To Language</label>
                            <span class="field">
                            	<input type="text" class="smallinput" name="tl" id="g_tl" value="<%=submitSite.getTl()%>">
                            </span>
                        </p>
                        <p class="stdformbutton">
                        	<button class="submit radius2">Submit</button>
                            <input type="reset" value="Reset" class="reset radius2">
                        </p>
                        
                    </form>
                    
                    <br clear="all">
                    
                </div><!--content-->
                
            </div><!--maincontentinner-->
            
            <jsp:include page="/admin/elements/copyright.jsp" />
            
        </div>

<jsp:include page="/admin/layouts/footer.jsp" />